package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Products对象", description="商品表")
public class Products implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    private Integer shopId;

    @ApiModelProperty(value = "品牌id")
    private Integer brandId;

    @ApiModelProperty(value = "分类id数组")
    private String categoryIds;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String subTitle;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "分享海报")
    private String poster;

    @ApiModelProperty(value = "商品小描述")
    private String description;

    @ApiModelProperty(value = "标签")
    private String tags;

    @ApiModelProperty(value = "编号")
    private String number;

    @ApiModelProperty(value = "ean码")
    private String ean;

    @ApiModelProperty(value = "成本价")
    private Integer costPrice;

    @ApiModelProperty(value = "促销人民币价")
    private Integer discountMoneyPrice;

    @ApiModelProperty(value = "促销积分价")
    private Integer discountScorePrice;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "推广红包佣金")
    private Integer brokerageMoney;

    @ApiModelProperty(value = "推广积分佣金")
    private Integer brokerageScore;

    @ApiModelProperty(value = "上级推广人红包佣金")
    private Integer secondBrokerageMoney;

    @ApiModelProperty(value = "上级推广人积分佣金")
    private Integer secondBrokerageScore;

    @ApiModelProperty(value = "商品奖励红包")
    private Integer rewardMoney;

    @ApiModelProperty(value = "商品奖励积分")
    private Integer rewardScore;

    @ApiModelProperty(value = "0为包邮  1为到付  2为其它运费模板")
    private Integer carriageType;

    @ApiModelProperty(value = "费模板")
    private Integer carriageTemplateId;

    @ApiModelProperty(value = "是否显示库存")
    private Boolean isShowStock;

    @ApiModelProperty(value = "是否显示销量")
    private Boolean isShowSales;

    @ApiModelProperty(value = "是否推荐款")
    private Boolean isRecommend;

    @ApiModelProperty(value = "是否显示在列表中")
    private Boolean isListed;

    @ApiModelProperty(value = "列表中权重")
    private Integer listWeight;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "0为未上架  1为上架中")
    private Integer status;

    @ApiModelProperty(value = "碎片兑换开关")
    private Boolean coverChipStatus;

    @ApiModelProperty(value = "是否开启线下核销")
    private Boolean isOfflineUseable;

    @ApiModelProperty(value = "是否包邮")
    private Boolean isFreeCarriage;

    @ApiModelProperty(value = "是否需要收货地址")
    private Boolean isNeedAddress;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "发布时间")
    private Date publishedAt;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "角标id")
    private Integer imageTagId;

    @ApiModelProperty(value = "是否预售")
    private Boolean isPresell;

    @ApiModelProperty(value = "预售日期")
    private Date presellDate;

    @ApiModelProperty(value = "专享价标题")
    private String groupPriceTitle;

    @ApiModelProperty(value = "其它信息")
    private String options;

    @ApiModelProperty(value = "运费")
    private Integer carriage;

    @ApiModelProperty(value = "标记时间")
    private Date markedAt;

    @ApiModelProperty(value = "预售模式，0为预售前不可购买， 1为预售前可购买")
    private Integer presellMode;

    @ApiModelProperty(value = "下单奖励")
    private String orderReward;

    @ApiModelProperty(value = "供应商名称")
    private String supplier;

    @ApiModelProperty(value = "搜索关键词 60字以内")
    private String searchKey;

    @ApiModelProperty(value = "一级分类id")
    private Integer category1Id;

    @ApiModelProperty(value = "二级分类id")
    private Integer category2Id;

    @ApiModelProperty(value = "人民币划线价")
    private Integer lineMoneyPrice;

    @ApiModelProperty(value = "积分划线价")
    private Integer lineScorePrice;


}
